package cn.getech.data.metadata.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 数据采集报警通知接收者(CollectionTaskAlarmReceiver)表实体类
 *
 * @author makejava
 * @since 2021-08-12 19:09:14
 */
@Data
@TableName("collection_task_alarm_receiver")
public class CollectionTaskAlarmReceiver implements Serializable {

    @TableId()
    private Long id;
    //任务采集告警id
    private Long alarmId;
    //报警方式 1：邮件
    private Integer alarmWay;
    //报警方式的地址
    private String alarmObject;
    //报警方式名字
    @TableField(exist = false)
    private String alarmName;

}
